package com.ocom.common.request.web;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class GetConsDeptReportsRequest implements Serializable {

    private static final long serialVersionUID = 2971779162748755950L;

    @NotNull(message = "comId 不能为空")
    private Long comId;

    @NotNull(message = "deptId 不能为空")
    private Long deptId;

    private String deptIds;

    @NotBlank(message = "startTime 不能为空")
    private String startTime;

    @NotBlank(message = "endTime 不能为空")
    private String endTime;

    @NotNull(message = "page 不能为空")
    private Integer page;

    @NotNull(message = "size 不能为空")
    private Integer size;

    private String strDeptInfos;
}
